Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add an "Active" member for Block to allow "focusable" widgets #257

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

pdevine
Copy link

@pdevine pdevine commented Feb 11, 2020

This change adds a new "Active" member to Block so that it can be used to tell whether a given widget is in focus or not. I added some examples to show how you can use it.

I wasn't sure if "Active" was the correct term here. GTK uses the term "Has Focus" which might be more appropriate.

This relates to #209

@pdevine pdevine mentioned this pull request Feb 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant